xen.git
20 years agoThis patch prevents you from getting a screen full of stack trace when
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:16:39 +0000 (15:16 +0000)]
This patch prevents you from getting a screen full of stack trace when
trying to run commands like xm list as a normal user, and instead provides a
helpful error message.

Signed-off-by: Sean Dague <sean@dague.net>
20 years agoManual merge.
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 15:16:12 +0000 (15:16 +0000)]
Manual merge.

20 years agoAdd XenSV back into the repository.
twilkie@paploo.uk.xensource.com [Tue, 26 Jul 2005 13:56:30 +0000 (13:56 +0000)]
Add XenSV back into the repository.
Now uses Python Server Pages, not twisted.

20 years agoFix restart/poweroff properly. From aq.
kaf24@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 10:09:06 +0000 (10:09 +0000)]
Fix restart/poweroff properly. From aq.

20 years ago- allows to optionally boot the system with a policy already being
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:19:14 +0000 (21:19 +0000)]
- allows to optionally boot the system with a policy already being
  active at startup; this works by adding a module line into the grub
  configuration file and placing the binary policy generated by the
  policy tool into the boot directory; This assumes that a maximum of
  one module line is used for the initrd in the grub configuration
  file - Question: do users pass more than one module to the kernel?
- enables the policy hypervisor call on x86/64
- some function prototypes moved to include files
- moves the version number in the java tool up to the current
  version (a better way of doing this will be submitted soon)

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
20 years agoImprove guest time keeping
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:40 +0000 (21:03 +0000)]
Improve guest time keeping

Even though we accounted for lost ticks, the accounting was not precise.
Specifically, we didn't account for the delay in calling the ac_timer
handler.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoReally enable gdbserver for real mode code.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:25 +0000 (21:03 +0000)]
Really enable gdbserver for real mode code.

Missed out one instance where we need to check if we're running on
1:1 page tables with guest paging disabled.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoUse hg root instead of bk root.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:03:05 +0000 (21:03 +0000)]
Use hg root instead of bk root.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoRestore command line parsing code from qemu-0.6.1
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:50 +0000 (21:02 +0000)]
Restore command line parsing code from qemu-0.6.1

This enables cdrom ejection (both file based and physical i.e. /dev/cdrom)

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoAllow multiple disk images per guest.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:34 +0000 (21:02 +0000)]
Allow multiple disk images per guest.

Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoFix the path to qemu-dm
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:24 +0000 (21:02 +0000)]
Fix the path to qemu-dm

20 years agoImplement the I/O bitmap vm execution control.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:02:09 +0000 (21:02 +0000)]
Implement the I/O bitmap vm execution control.

With this patch, we should not bee seeing any vmexits for debug port
accesses.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoDon't leave behind zombie device model processes
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:01:57 +0000 (21:01 +0000)]
Don't leave behind zombie device model processes

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoXen full virtualization does not handle unaligned IO with page crossing.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:01:42 +0000 (21:01 +0000)]
Xen full virtualization does not handle unaligned IO with page crossing.
Disable 32-bit PIO as a workaround.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoTranslate some control characters in the qemu monitor.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 21:00:30 +0000 (21:00 +0000)]
Translate some control characters in the qemu monitor.

This removes odd control characters displayed in the qemu monitor with vnc

Signed-off-by: Edwin Zhain <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoRemove extra definition of DBG in pci/irq.c in XenLinux.
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:41:31 +0000 (20:41 +0000)]
Remove extra definition of DBG in pci/irq.c in XenLinux.

20 years agoFix cross-compile builds by using NM macro instead of nm
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:33:41 +0000 (20:33 +0000)]
Fix cross-compile builds by using NM macro instead of nm
binary directly.

20 years agoXenLinux restart/poweroff calls 'reboot' or 'poweroff'
kaf24@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 20:32:11 +0000 (20:32 +0000)]
XenLinux restart/poweroff calls 'reboot' or 'poweroff'
as appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agosplit deallocation from net_tx_action
vh249@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 17:26:32 +0000 (17:26 +0000)]
split deallocation from net_tx_action

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoadd grant table capabilities to netback and netfront.
vh249@firebug.cl.cam.ac.uk [Mon, 25 Jul 2005 17:07:31 +0000 (17:07 +0000)]
add grant table capabilities to netback and netfront.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoregenerate smp-alt.patch for 2.6.12
vh249@arcadians.cl.cam.ac.uk [Mon, 25 Jul 2005 09:56:50 +0000 (09:56 +0000)]
regenerate smp-alt.patch for 2.6.12

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoLocal merge
sd386@font.cl.cam.ac.uk [Fri, 22 Jul 2005 17:58:52 +0000 (17:58 +0000)]
Local merge
Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}

20 years agoPort kallsyms to Xen, as 'symbols'.
kaf24@firebug.cl.cam.ac.uk [Fri, 22 Jul 2005 16:44:33 +0000 (16:44 +0000)]
Port kallsyms to Xen, as 'symbols'.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFixed extratime scheduling bug, which caused a prioritised dom0 to overtake the whole...
sd386@font.cl.cam.ac.uk [Fri, 22 Jul 2005 15:32:31 +0000 (15:32 +0000)]
Fixed extratime scheduling bug, which caused a prioritised dom0 to overtake the whole cpu.
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}

20 years agoIn 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try
sos22@douglas.cl.cam.ac.uk [Fri, 22 Jul 2005 14:25:10 +0000 (14:25 +0000)]
In 2.6.12-land, do_debug and do_int3 return void.  Make sure we don't try
to use their return values anywhere.

Signed-off-by: Steven Smith, sos22@cam.ac.uk.
20 years agoHere is a patch to enable Xen to run on a Unisys ES7000 x86_64 system.
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 15:50:11 +0000 (15:50 +0000)]
Here is a patch to enable Xen to run on a Unisys ES7000 x86_64 system.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
20 years agoFix problem of can not create two or more vmx guest.
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 14:15:35 +0000 (14:15 +0000)]
Fix problem of can not create two or more vmx guest.

The original gdb server patch will cause the new vmx guest break the=20
old one. This patch make the arch_set_guest_info modify the correct
vmcs and also skip modifying during  creating.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>^
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoSave per cpu IDT information into the VMCS host area.
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 13:59:49 +0000 (13:59 +0000)]
Save per cpu IDT information into the VMCS host area.

Without this, we may be saving the IDT info from the wrong cpu into the
vmcs.
This makes domU work in the presence of VMX domains on SMP/HT enabled
machines.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>=20
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoPropagate guest MSR writes to machine MSRs immediately
kaf24@firebug.cl.cam.ac.uk [Thu, 21 Jul 2005 13:59:08 +0000 (13:59 +0000)]
Propagate guest MSR writes to machine MSRs immediately

Right now, we have an exposure between the time the MSR is written
and used by an instruction such as syscall. If there is a context
switch and we do vmx_do_restore_msrs(), everything goes fine. But
if we don't, then we execute the syscall with the wrong MSR.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoFix bug.
smh22@firebug.cl.cam.ac.uk [Wed, 20 Jul 2005 19:45:05 +0000 (19:45 +0000)]
Fix bug.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoNo need to define io_remap_pfn_range in linux/mm.h.
kaf24@firebug.cl.cam.ac.uk [Wed, 20 Jul 2005 17:44:29 +0000 (17:44 +0000)]
No need to define io_remap_pfn_range in linux/mm.h.

20 years agoMerged by hand.
maf46@burn.cl.cam.ac.uk [Tue, 19 Jul 2005 12:20:24 +0000 (12:20 +0000)]
Merged by hand.

20 years agoShadow mode's writable-PTs should only allow guest kernels access to PTs
maf46@burn.cl.cam.ac.uk [Tue, 19 Jul 2005 10:40:26 +0000 (10:40 +0000)]
Shadow mode's writable-PTs should only allow guest kernels access to PTs

20 years agoFix wallclock timebase extraction in XenLinux.
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Jul 2005 09:26:18 +0000 (09:26 +0000)]
Fix wallclock timebase extraction in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoSimplify and fix the error-correction factor during
kaf24@firebug.cl.cam.ac.uk [Tue, 19 Jul 2005 08:52:32 +0000 (08:52 +0000)]
Simplify and fix the error-correction factor during
local timer calibration.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFirst cut of new time interfaces and synchronisation mechanisms.
kaf24@firebug.cl.cam.ac.uk [Mon, 18 Jul 2005 20:22:11 +0000 (20:22 +0000)]
First cut of new time interfaces and synchronisation mechanisms.
Based on an initial patch from Don Fry at IBM.
Still TODO:
 1. Testing
 2. NTP synchronisation
 3. Fix wallclock interface a bit
 4. Support for platform timers other than PIT (e.g., HPET, IBM Cyclone)
 5. Scale 64-bit TSC diffs instead of 32-bit, just for sanity
 6. Error-correcting scale factor is still slightly wrong
 6. More testing
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agopdb: read/write registers for process target
ach61@arcadians.cl.cam.ac.uk [Sun, 17 Jul 2005 14:16:21 +0000 (14:16 +0000)]
pdb: read/write registers for process target

20 years agoFix 'make uninstall' target.
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 16:45:24 +0000 (16:45 +0000)]
Fix 'make uninstall' target.

20 years agoFix 'make mrproper' to remove pristine and ref trees.
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 14:14:29 +0000 (14:14 +0000)]
Fix 'make mrproper' to remove pristine and ref trees.

20 years agoDelete resurrected files (from ia64 merge).
kaf24@firebug.cl.cam.ac.uk [Sat, 16 Jul 2005 14:02:54 +0000 (14:02 +0000)]
Delete resurrected files (from ia64 merge).

20 years agoSimple grant-table fix (check_unmap).
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 19:57:12 +0000 (19:57 +0000)]
Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.

20 years agoTrivial fixes for numeric arg to head/tail.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 19:34:10 +0000 (19:34 +0000)]
Trivial fixes for numeric arg to head/tail.

20 years agoMerge with ia64-unstable.hg
djm@kirby.fc.hp.com [Fri, 15 Jul 2005 13:39:50 +0000 (06:39 -0700)]
Merge with ia64-unstable.hg

20 years agoRelax the bounce-buffer copying constraints in dma_sync_single_for_*
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 12:52:02 +0000 (12:52 +0000)]
Relax the bounce-buffer copying constraints in dma_sync_single_for_*
functions. This fixes certain drivers (e.g., ivtv).
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAvoid some unnecessary TLB flushes. This will probably make no real
sos22@douglas.cl.cam.ac.uk [Fri, 15 Jul 2005 09:24:29 +0000 (09:24 +0000)]
Avoid some unnecessary TLB flushes.  This will probably make no real
difference on any sensible guest operating system.

Signed-off-by: Steven Smith, sos22@cl.cam.ac.uk.
20 years agoFix exit path from DOM0_CREATEDOMAIN, which I broke earlier
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 09:09:57 +0000 (09:09 +0000)]
Fix exit path from DOM0_CREATEDOMAIN, which I broke earlier
today.

20 years agoEnable VMX domains on a SMP dom0.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:50:48 +0000 (08:50 +0000)]
Enable VMX domains on a SMP dom0.

Not all vectors go through do_IRQ(). It's possible to look up the handler
in the IDT and call that one, but it'll result in two trap frames.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoRecently some people complain that they cannot set the maxmem for
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:30:22 +0000 (08:30 +0000)]
Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agoTemporary fix for netif ring overflow, until we move
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 08:22:18 +0000 (08:22 +0000)]
Temporary fix for netif ring overflow, until we move
netfront/netback to grant tables.

20 years agoSimpler domid allocation.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Jul 2005 07:53:46 +0000 (07:53 +0000)]
Simpler domid allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoUpdate x86_64 -xen config for Linux 2.6.12
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 23:48:06 +0000 (23:48 +0000)]
Update x86_64 -xen config for Linux 2.6.12
Signed-off-by: ian@xensource.com
20 years agoUpdate the -xen default config to Linux 2.6.12
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 21:03:41 +0000 (21:03 +0000)]
Update the -xen default config to Linux 2.6.12

Signed-off-by: ian@xensource.com
20 years agoIncorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 21:02:05 +0000 (21:02 +0000)]
Incorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
individual partitions held within whole disk images.

Original source from http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/l
omount/lomount.c

 * Copyright (c) 2004 Jim Brown
 * Copyright (c) 2004 Brad Watson
 * Copyright (c) 2004 Mulyadi Santosa

Signed-off-by: ian@xensource.com
20 years agoFix for new ns16550 serial code in xen-unstable.hg
djm@kirby.fc.hp.com [Thu, 14 Jul 2005 17:46:11 +0000 (10:46 -0700)]
Fix for new ns16550 serial code in xen-unstable.hg

20 years agoMissing quirks.c file.
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 14:01:21 +0000 (14:01 +0000)]
Missing quirks.c file.

20 years agoAuto-disable IRQ balancing/affinity on buggy chipsets.
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 11:09:21 +0000 (11:09 +0000)]
Auto-disable IRQ balancing/affinity on buggy chipsets.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAllow IRQ balancing to be disabled with 'noirqbalance'
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 10:37:49 +0000 (10:37 +0000)]
Allow IRQ balancing to be disabled with 'noirqbalance'
boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd debug-key for printing IRQ/IOAPIC info.
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 10:16:45 +0000 (10:16 +0000)]
Add debug-key for printing IRQ/IOAPIC info.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMisc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one...
iap10@freefall.cl.cam.ac.uk [Thu, 14 Jul 2005 10:12:51 +0000 (10:12 +0000)]
Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.

Signed-off-by: ian.pratt@cl.cam.ac.uk
20 years agoAllow arch-specific defaults to be specified for ns16550
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 09:05:22 +0000 (09:05 +0000)]
Allow arch-specific defaults to be specified for ns16550
uart configuration. Based on a patch from Hollis Blanchard
at IBM.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoThe VMCS control bits in the current tree are not optimal. Attached is
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 08:00:55 +0000 (08:00 +0000)]
The VMCS control bits in the current tree are not optimal.  Attached is
a patch to improve the VMCS control bits setting. It also adds checks to
detect any non-optimal or incompatible settings for the VMCS control
bits based on MSRs, and fixes a bug associated with vmcs region freeing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoCleanup mov to CR4 handling.
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 08:00:35 +0000 (08:00 +0000)]
Cleanup mov to CR4 handling.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoEnable CR4.VME to improve the performance of vm86 emulation.
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Jul 2005 08:00:23 +0000 (08:00 +0000)]
Enable CR4.VME to improve the performance of vm86 emulation.

Setting this bit eliminates the calls to the vm86 monitor to handle
interrupts and exceptions that occur while executing programs in vm86
mode.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agorepair legacy Makefile targets linux26 and linux24
vh249@arcadians.cl.cam.ac.uk [Thu, 14 Jul 2005 07:39:18 +0000 (07:39 +0000)]
repair legacy Makefile targets linux26 and linux24

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoOops remove debug output from last changeset
djm@kirby.fc.hp.com [Wed, 13 Jul 2005 20:18:04 +0000 (13:18 -0700)]
Oops remove debug output from last changeset

20 years agoFix PAL_PTCE_INFO and cpuid (pfmon now works)
djm@kirby.fc.hp.com [Wed, 13 Jul 2005 20:12:00 +0000 (13:12 -0700)]
Fix PAL_PTCE_INFO and cpuid (pfmon now works)

20 years agopdb: reconcile register manipulation between processes and domains
ach61@arcadians.cl.cam.ac.uk [Wed, 13 Jul 2005 15:37:08 +0000 (15:37 +0000)]
pdb: reconcile register manipulation between processes and domains

20 years agoInitial tools support for 32-bit x86 pae.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 15:04:49 +0000 (15:04 +0000)]
Initial tools support for 32-bit x86 pae.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
20 years agoForce PAE build of Xen by specifying 'pae=y' to make, or
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 15:02:49 +0000 (15:02 +0000)]
Force PAE build of Xen by specifying 'pae=y' to make, or
by setting XEN_TARGET_X86_PAE=y (e.g., in Config.mk).
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRemove CONFIG_X86_PAE hack from config.h.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 14:37:58 +0000 (14:37 +0000)]
Remove CONFIG_X86_PAE hack from config.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoReadd pristine-% rules that went MIA.
vh249@arcadians.cl.cam.ac.uk [Wed, 13 Jul 2005 13:45:41 +0000 (13:45 +0000)]
Readd pristine-% rules that went MIA.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoAdd easy way to turn off all fast paths to rule them out when debugging
djm@kirby.fc.hp.com [Wed, 13 Jul 2005 13:43:49 +0000 (06:43 -0700)]
Add easy way to turn off all fast paths to rule them out when debugging

20 years agoEnable NX/XD feature for 32-bit PAE Xen.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 12:58:41 +0000 (12:58 +0000)]
Enable NX/XD feature for 32-bit PAE Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoBuild hotplug by default in dom0.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 08:45:26 +0000 (08:45 +0000)]
Build hotplug by default in dom0.

20 years agoThe patch attached restores NX/XD support in x86_64 xenlinux. When the
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 08:37:38 +0000 (08:37 +0000)]
The patch attached restores NX/XD support in x86_64 xenlinux. When the
port was being done, Xen did not want to see the bit 63 in ptes, and it
now allows the guests to set it. Also include cleanups (warning when
compiling domU).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoNeed to save and restore MSRs for VMX domains across context switches.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 08:36:38 +0000 (08:36 +0000)]
Need to save and restore MSRs for VMX domains across context switches.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoFix NX/XD enable on secondary CPUs.
kaf24@firebug.cl.cam.ac.uk [Wed, 13 Jul 2005 08:25:08 +0000 (08:25 +0000)]
Fix NX/XD enable on secondary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agopdb: get rid of absolute path in module makefile
ach61@arcadians.cl.cam.ac.uk [Tue, 12 Jul 2005 17:31:16 +0000 (17:31 +0000)]
pdb: get rid of absolute path in module makefile

20 years agoLet Xen have 256 PIRQs to guests.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 17:23:38 +0000 (17:23 +0000)]
Let Xen have 256 PIRQs to guests.

20 years agopdb: execution_domain -> vcpu
ach61@arcadians.cl.cam.ac.uk [Tue, 12 Jul 2005 17:00:33 +0000 (17:00 +0000)]
pdb: execution_domain -> vcpu

20 years agoNative x86_64 linux uses paranoidentry for exceptions with ist !=3D 0,
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 16:50:38 +0000 (16:50 +0000)]
Native x86_64 linux uses paranoidentry for exceptions with ist !=3D 0,
while x86_64 xenlinux doesn't have special stacks for these exceptions.
Actually we don't need paranoidentry for x86_64 xenlinux, and these
exceptions except #DB should be handled in hypervisor.  With this patch,
#DB is forwarded to guest, and let it use zeroentry should be OK.
-Xin

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoSmall fix for PAE in 2.6.12.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 16:21:23 +0000 (16:21 +0000)]
Small fix for PAE in 2.6.12.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
20 years agoSome more new files for Linux PAE.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 16:20:36 +0000 (16:20 +0000)]
Some more new files for Linux PAE.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
20 years agoFix hgignore regexps some more.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 16:19:59 +0000 (16:19 +0000)]
Fix hgignore regexps some more.

20 years agoFix Xen build with PAE enabled, and a fix to help
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 16:12:48 +0000 (16:12 +0000)]
Fix Xen build with PAE enabled, and a fix to help
domU PAE.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
20 years agoBetter pal/sal support
djm@kirby.fc.hp.com [Tue, 12 Jul 2005 15:13:06 +0000 (08:13 -0700)]
Better pal/sal support
Fix bug with pgd allocation (used pgd_quick)
Add some more debug info for tracking down vcpu_translate bad addr
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>

20 years agoFix DMA compile for x86_64.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 13:19:10 +0000 (13:19 +0000)]
Fix DMA compile for x86_64.
Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoFix dma_map_single to work correctly with multi-page buffers.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 10:29:46 +0000 (10:29 +0000)]
Fix dma_map_single to work correctly with multi-page buffers.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoxenstored updates.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 10:16:33 +0000 (10:16 +0000)]
xenstored updates.
- add trace file support.
- update permissions code.
- trigger watches on children of nodes being removed.
- update test cases.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoManual merge.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 10:09:35 +0000 (10:09 +0000)]
Manual merge.

20 years agoManual merge.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 10:09:13 +0000 (10:09 +0000)]
Manual merge.

20 years agoAdd xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 10:01:03 +0000 (10:01 +0000)]
Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoUpdate xenbus driver code.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 09:51:37 +0000 (09:51 +0000)]
Update xenbus driver code.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCreate .hgskip files instead of .bk_skip files.
cl349@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 09:38:02 +0000 (09:38 +0000)]
Create .hgskip files instead of .bk_skip files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDom0 can have slack time in sedf scheduler.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 09:22:45 +0000 (09:22 +0000)]
Dom0 can have slack time in sedf scheduler.

20 years agoFix the x86_64 build after the PAE check-in.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 07:47:21 +0000 (07:47 +0000)]
Fix the x86_64 build after the PAE check-in.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoAdd HIGHMEM64G (but not set) to defconfigs.
kaf24@firebug.cl.cam.ac.uk [Tue, 12 Jul 2005 07:45:57 +0000 (07:45 +0000)]
Add HIGHMEM64G (but not set) to defconfigs.

20 years agoFix README.
kaf24@firebug.cl.cam.ac.uk [Mon, 11 Jul 2005 21:34:26 +0000 (21:34 +0000)]
Fix README.

20 years agoDevice model SXP cleanup
kaf24@firebug.cl.cam.ac.uk [Mon, 11 Jul 2005 20:09:10 +0000 (20:09 +0000)]
Device model SXP cleanup

- don't pollute the sxp with unused options
- use the same syntax as paravirtualized domains for disks

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
20 years agoTools build fixes.
kaf24@firebug.cl.cam.ac.uk [Mon, 11 Jul 2005 16:04:22 +0000 (16:04 +0000)]
Tools build fixes.